Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[simple_system] Bump C++ version in core files #2157

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

rswarbrick
Copy link
Contributor

This sets the C++ standard that's being used for a compiler that's building a Verilator simulation. Recent versions of Verilator (since 5.020) require the compiler to be in C++14 mode, so passing -std=c++11 breaks the build with them.

Looking at history, -std=c++14 has been supported since GCC 6.1 (released in 2016), so I don't think this argument is going to cause any tooling problems.

Fixes #2153.

This sets the C++ standard that's being used for a compiler that's
building a Verilator simulation. Recent versions of Verilator (since
5.020) require the compiler to be in C++14 mode, so passing -std=c++11
breaks the build with them.

Looking at history, -std=c++14 has been supported since GCC
6.1 (released in 2016), so I don't think this argument is going to
cause any tooling problems.
@rswarbrick rswarbrick added the Component:Tool-and-Build Tool and build system related issues label Mar 27, 2024
@rswarbrick rswarbrick requested a review from GregAC March 27, 2024 11:31
Copy link
Collaborator

@GregAC GregAC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the CI failure is some transient issue, so have rerun the job

@rswarbrick rswarbrick added this pull request to the merge queue Mar 27, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 27, 2024
@GregAC GregAC added this pull request to the merge queue Mar 27, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 27, 2024
@nbdd0121 nbdd0121 added this pull request to the merge queue Mar 27, 2024
@nbdd0121
Copy link
Contributor

GitHub's API seems to be quite laggy today, even 30 seconds of retry doesn't seem long enough.

@nbdd0121 nbdd0121 removed this pull request from the merge queue due to a manual request Mar 27, 2024
@nbdd0121 nbdd0121 added this pull request to the merge queue Mar 27, 2024
@nbdd0121 nbdd0121 removed this pull request from the merge queue due to a manual request Mar 27, 2024
@nbdd0121 nbdd0121 added this pull request to the merge queue Mar 27, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 27, 2024
@nbdd0121 nbdd0121 added this pull request to the merge queue Mar 27, 2024
Merged via the queue into lowRISC:master with commit 621b899 Mar 27, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component:Tool-and-Build Tool and build system related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installation Issue: FuseSoC build doesn't work
3 participants